let baseUrl = 'http://localhost:4000'

const env = process.env.NODE_ENV
console.log(env, 'env')
switch (env) {
    case 'development':
        baseUrl = 'http://43.138.211.108:4000';
        break;
    case 'test':
        baseUrl = 'http://43.138.211.108:4000';
        break;
    case 'production':
        // baseUrl = 'http://43.138.211.108:4000'
        baseUrl = 'http://www.blog-api.boycot.top'
        break;
    default:
        break;
}
export {
    baseUrl
}
